package com.wswy.wzcx.ui.user

class StepState{

    var type:Int = 0
    set(value) {
        field = value
        resetValue()
    }

    var phone:String?=null
    set(value) {
        field = value
        smsCode = null
        ticket = null
    }

    var smsCode:String?=null

    var ticket:String?=null

    var wechatCode:String?=null

    fun resetValue(){
        phone = null
        smsCode = null
        ticket = null
        wechatCode = null
    }

}